package com.k.demo.entity;

import java.util.List;

public class ShoppingCart {
	private Integer shopping_cart_id;
	private Integer user_id;
	private Integer is_delete;
	private List<ShoppingCartDetail> details;
	public List<ShoppingCartDetail> getDetails() {
		return details;
	}
	public void setDetails(List<ShoppingCartDetail> details) {
		this.details = details;
	}
	public Integer getShopping_cart_id() {
		return shopping_cart_id;
	}
	public void setShopping_cart_id(Integer shopping_cart_id) {
		this.shopping_cart_id = shopping_cart_id;
	}
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
	public Integer getIs_delete() {
		return is_delete;
	}
	public void setIs_delete(Integer is_delete) {
		this.is_delete = is_delete;
	}
	public ShoppingCart() {
		super();
		// TODO Auto-generated constructor stub
	}
	public ShoppingCart(Integer shopping_cart_id, Integer user_id, Integer is_delete,
			List<ShoppingCartDetail> details) {
		super();
		this.shopping_cart_id = shopping_cart_id;
		this.user_id = user_id;
		this.is_delete = is_delete;
		this.details = details;
	}
	@Override
	public String toString() {
		return "ShoppingCart [shopping_cart_id=" + shopping_cart_id + ", user_id=" + user_id + ", is_delete="
				+ is_delete + ", details=" + details + "]";
	}
	
}
